﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Util;
using System.Deployment.Application;
using System.IO;

namespace EZBarTender_Wrapper.Settings
{
    public partial class Changes : Form
    {
        private ApplicationConfig config;

        public Changes(ApplicationConfig appConfig)
        {
            InitializeComponent();
            this.config = appConfig;

            if (ApplicationDeployment.IsNetworkDeployed)
            {
                String changesFile = Path.Combine(ApplicationDeployment.CurrentDeployment.DataDirectory, "changes.htm");
                changesBrowser.Navigate(changesFile);
            }
        }
    }
}